package com.usian.service;

import com.github.pagehelper.PageInfo;
import com.usian.appointments.Appointments;
import com.usian.image.Images;
import com.usian.user.User;

import java.util.List;

public interface AppointmentsService {

    PageInfo<Appointments> findAll(Integer page, Integer size, Appointments appointments);

    List<Appointments> findById(Integer userId);

    User selectUserByIdTwo(Integer id);

    Appointments echo(Integer id);

    int add(Appointments appointments);
}
